Book Contents

buttonAction attribute syntax

Use the following syntax to specify the buttonAction attribute:

buttonAction="enumeration"

where enumeration is one of normallyOpen | normallyClosed | value

  • normallyOpen sends a value of 1 when the object is pressed, and a value of 0 when the object is released.
  • normallyClosed sends a value of 0 when the object is pressed, and a value of 1 when the object is released.
  • value sends the value you assign to State 0 when the button is pressed and the value you assign to State 1 when the button is released.

    If the button’s hold time is still in effect when the button is released, the second value is not sent until the hold time expires.

See also

buttonAction attribute

enumeration